<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<?php 
include_once "{$RootDirectoryUri}/config/config.php"; 
include_once "{$RootDirectoryUri}/functions/genericfunctions.php";
include_once "{$RootDirectoryUri}/functions/drawTables.php";
?>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>SQL mokomasis puslapis</title>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <link type="text/css" rel="stylesheet" media="all" href="css/styles.css" />
    <script src="scripts/modernizr-2.0.4.js"></script>
</head>
<body>
    <div id="page-wrapper">
        <div id="page">
            <?php 
                include('header1.php');
            ?>
            <div class="content">
                <div class="left-side">
                    <?php include('menu-left.html'); ?>
                </div>
                <div class="right-side"> 
                    <div class="content">
                        <div id="teorija1">
                            <h2>Įvadas</h2>
                            <?php print(getTexts(1, $workDB)); ?>

                            <br />  
                            
                            <h2>Lentelės</h2>
                                   
                            <?php print preg_replace('/\@lentele/', printTblIvadas1($workDB), getTexts(2, $workDB));  ?>                     

                 		</div>
            		</div>
            
        		</div>
        
    		</div>
		    <?php include('footer.html'); ?>
		    <input type="hidden" id="hid" />
		</div>
	</div>
    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script type="text/javascript" src="scripts/navigacija.js"></script>
	

</body>
</html>